package com.github.chirspan.xaas.rbac.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * *******description*******
 * <p>
 * *************************
 *
 * @author chenpan
 * @date 2020/6/12 11:14
 */
@TableName(value = "xaas_rbac_user_department")
@Data
public class RbacUserDepartment {

    @ApiModelProperty("用户id")
    @TableField(value = "user_id")
    private String userId;

    @ApiModelProperty("科室ID")
    @TableField(value = "dept_id")
    private String deptId;
}
